﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace UnitTest.WebServiceUtil
{
    [TestClass]
    public class UnitTest1
    {
        public class Response
        {
            public int Code;
            public string Message;
            public ResponseData[] Data;
        }

        public class ResponseData
        {
            public string F1;
            public string F2;
            public string F3;
        }

        [TestMethod]
        public void TestIsArrayObjectResult()
        {
            string rootPath;
            Type elementType;
            CPPEI.ETL.DSImplement.WSTypeUtil.IsArrayObjectResult(false, "RESULT", typeof(Response), out rootPath, out elementType);
        }
    }
}
